.box{
  width: 300px;
  height: 300px;
  background: linear-gradient(to right bottom, #ace, #25d);
  transform: translateX(-500px) rotate(1080deg) scale(0);
  transition: all 0.5s;
}

div.show{
  transform: translateX(500px) rotate(0deg) scale(1);
}